Dynamic process model optimization in domains

ABSTRACT

A computing server may receive master data, transaction data, and one or more existing process models of a domain. The computing server may aggregate, based on domain knowledge ontology of the domain, the master data and the transaction data to generate a fact table. For example, entries in the fact table may be identified as relevant to the target process model and include attributes and facts that are extracted from master data or transaction data. The computing server may convert the entries in the fact table into vectors. The computing server inputting vectors into one or more machine learning algorithms to generate one or more algorithm outputs. One or more algorithm outputs may correspond to one or more improved process models that are optimized compared to the existing process models. The computing server may provide the improved process model to the domain to replace one of the existing process models.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation U.S. patent application Ser. No. 16/886,504, filed on May 28, 2020, which is a continuation in part of PCT Application No. PCT/US2020/016838, filed on Feb. 5, 2020, which claims priority to U.S. application Ser. No. 16/540,530, filed on Aug. 14, 2019 and now U.S. Pat. No. 10,592,544, which claims the benefit of Indian Provisional Patent Application 201941005513, filed on Feb. 12, 2019. The present application also claims the benefit of U.S. Provisional Patent Application 63/004,928, filed on Apr. 3, 2020. All of which are hereby incorporated by reference in their entirety.

TECHNICAL FIELD

The present disclosure generally relates to process optimization in a domain, and more specifically, to an automatic process optimization using one or more machine learning algorithms.

BACKGROUND

Various domains are often associated with their own data structure and data sources. A domain may include heterogeneous data such as unstructured data that may include text, files, and documents stored in various computers and structured data stored in one or more databases. It is challenging to process a large amount of data that could be distributed among various heterogeneous sources that are not easily identified and managed. Conventional techniques available for processing text and documents involve labor-intensive data generation techniques such as manual identification and categorization of objects and attributes in the text and documents.

The conversion of unstructured files and documents to structured data that is organized in a manner easily accessible by a domain often is too costly to perform consistently to capture all potential changes in unstructured files. For example, a domain may generate a large number of documents and files every second. Conventionally, while the existence or creation of those files may be captured by the domain, information included in the unstructured documents and files may contain important data that are not often automatically converted to a format that is easily accessible from a database. Also, even if some of the information is converted to structured data, data from various sources is often not sufficiently linked to provide meaningful insights regarding the domain. It is often difficult for a domain to keep track of the sheer amount of data generated from transactions of the domain during its normal course of operation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an example system environment, in accordance with an embodiment.

FIG. 2 includes block diagrams illustrating various components of an example domain and an example computing server, in accordance with an embodiment.

FIG. 3 is a block diagram illustrating example inputs and outputs of a computing server, in accordance with an embodiment.

FIG. 4 is a flowchart illustrating an example process of optimizing a process flow, in accordance with an embodiment.

FIG. 5 is a block diagram illustrating an example preprocessing stage, in accordance with an embodiment.

FIG. 6 is a block diagram illustrating an example flow of algorithm training and process optimization stage, in accordance with an embodiment.

FIG. 7 is a block diagram illustrating an example postprocessing stage, in accordance with an embodiment.

FIG. 8 is a conceptual diagram illustrating an example graphical user interface displaying a process map, in accordance with an embodiment.

FIG. 9 is a block diagram illustrating the structure of an example machine learning algorithm, in accordance with an embodiment.

FIG. 10 is a block diagram illustrating components of an example computing machine, in accordance with an embodiment.

The figures depict various embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.

DETAILED DESCRIPTION

The figures and the following description relate to preferred embodiments by way of illustration only. It should be noted that from the following discussion, alternative embodiments of the structures and methods disclosed herein will be readily recognized as viable alternatives that may be employed without departing from the principles of what is claimed.

Reference will now be made in detail to several embodiments, examples of which are illustrated in the accompanying figures. It is noted that wherever practicable similar or like reference numbers may be used in the figures and may indicate similar or like functionality. The figures depict embodiments of the disclosed system (or method) for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.

Configuration Overview

Disclosed embodiments herein relate to automatic optimization of process models of a domain. A domain often generates a sheer amount of heterogeneous data related to transactions evolved around a process. A computing server may identify data of relevant transactions that may represent a process model's attributes or characteristics to be optimized. The computing server may train one or more machine learning algorithms to automatically extract relevant data related to a process model and to identify one or more steps in the process model that can be optimized. The computing server generates recommendations and an improved process model that can be used to replace an existing process model. The identification of recommendations and generation of the improved process model may be performed in a largely autonomous manner. Any improved process models may be fed back to the domain to replace the existing models so that the processes in the domain can be improved continuously and automatically over time.

By way of example, a computing server may receive master data, transaction data, and one or more existing process models of a domain. The computing server may aggregate, based on domain knowledge ontology of the domain, the master data and the transaction data to generate a fact table. For example, entries in the fact table may be identified as relevant to the target process model and include attributes and facts that are extracted from master data or transaction data. The computing server may convert the entries in the fact table into vectors. The computing server inputting vectors into one or more machine learning algorithms to generate one or more algorithm outputs. At least one of the algorithm outputs may correspond to an improved process model. The computing server may provide the improved process model to the domain to replace one of the existing process models.

Example System Environment

Referring now to FIG. 1, shown is a block diagram illustrating an embodiment of an example system environment 100 for performing a process optimization and providing recommendation, in accordance with an embodiment. By way of example, the system environment 100 includes a domain 110, a computing server 120, a data store 125, and a user device 130. The entities and components in the system environment 100 may communicate with each other through the network 140. In various embodiments, the system environment 100 may include fewer or additional components. The system environment 100 also may include different components. Also, while each of the components in the system environment 100 is described in a singular form, the system environment 100 may include one or more of each of the components. For example, there may be multiple user devices 130 that are operated by various users of the domain 110.

A domain 110 may be an environment in which a system operates and/or an environment for a group of units and individuals to use common domain knowledge to organize activities, information and entities related to the domain 110 in a specific way. An example of a domain 110 may be an organization, such as a business, an institute, or a subpart thereof and the data within it. A domain 110 may be associated with a specific domain knowledge ontology, which could include representations, naming, definitions of categories, properties, logics, and relationships among various concepts, data, transactions, and entities that are related to the domain 110. For example, a first domain may be a first organization that has its own definitions of terms and criteria on how a specific task is considered completed, while a second domain, which could be a different organization, may have different sets of definitions of terms and different sets of tasks and entities. Depending on embodiments, the boundary of a domain may or may not be the same as an organization. For example, in some embodiments, a domain corresponds to an organization and its data. In other embodiments, a single organization may be associated with multiple domains having data. Various divisions or departments of the organization may have their own definitions, internal procedures, tasks, and entities. In other embodiments, multiple organizations may share the same domain.

A domain 110 may include one or more resource planning applications 115. Depending on the use and functionality, a resource planning application 115 may also be referred to as an enterprise resource planning (ERP) application and a customer relationship management (CRM) application. A resource planning application 115 may also be referred to as a system of records. A resource planning application 115 may be a process management software that allows a domain 110 to integrate various functions related to technology, services, human resources, and transactions. Functions of a resource planning application 115 may include accounting, finance, purchasing, procurement, production and manufacturing, inventory management, distribution, supply chain management, services, orders from customers, corporate compliance and governance, customer services, human resources, reporting, and analytics, etc. A resource planning application 115 may collect, store, and manage data associated with various business activities. A resource planning application 115 may store the resources and named entities of the domain 110 as master data. A resource planning application 115 may also store transactions of the domain 110 as transaction data. The master data and transaction data may be structured and indexed and may be associated with a schema that describes relationship and structure among the data. A resource planning application 115 may also store the relationship and logic among various concepts, resources, entities, and transactions as domain knowledge ontology.

The computing server 120 may include one or more computing devices that perform various tasks related to the domain 110 such as extracting named entities and events occurred in the domain 110, generating process models from extracted events, optimizing the process models, and providing recommendations and courses of action to improve processes of the domain 110. The computing server 120 may retrieve various data such as master data, transaction data, domain knowledge ontology from the resource planning application 115 that maintains resource information of the domain 110. The computing server 120 performs analysis of various data and use different artificial intelligence techniques such as machine learning to optimize various processes of the domain 110. Optimization of a process in this disclosure may refer to an improvement to a process based on one or more measurable metrics or indicators such as costs, revenues, profits, time, numbers of personnel involved, customer satisfaction, compliance of rules and law, etc. Optimization in this disclosure does not only narrowly refer to improving the process to a state that is the most optimized. The terms “optimization,” and “optimized” also includes an incremental improvement.

The degree of automation in a process optimization may vary depending on situations. In one case, a process model or at least part of the model may be manually built by personnel in the domain 110 using the resource planning application 115. The computing server 120 may retrieve the process model from the resource planning application 115. After a process model is optimized, the computing server 120 may feed the improved process model back to the resource planning application 115. In another case, the optimization may be further automated. The computing server 120, based on transaction data, master data, and unstructured data, may automatically generate a process model. Based on further monitoring of the activities and transactions of the domain 110, the computing server 120 may automatically improve the process model.

The implementation of the improved process model may also be carried out with various degrees of automation. For example, the computing server 120 may provide recommendations to personnel in the domain 110 to carry out tasks that streamline the process. In another case, the computing server 120 may automatically update the workflow of the process so that the improvement may be automatically implemented. In one embodiment, the computing server 120 allows self-optimized closed-loop process optimization. Personnel in the domain 110 may monitor the optimization and provide inputs, corrections, and labels if needed.

The computing server 120 may take the form of a combination of hardware and software. Some or all of the components of a computing machine of the computing server 120 is illustrated in FIG. 10. The computing server 120 may take different forms. In one embodiment, the computing server 120 may be a server computer that executes code instructions to perform various processes described herein. In another case, the computing server 120 may be a pool of computing devices that may be located at the same geographical location (e.g., a server room) or be distributed geographically (e.g., clouding computing, distributed computing, or in a virtual server network). The computing server 120 may also include one or more virtualization instances such as a container, a virtual machine, a virtual private server, a virtual kernel, or another suitable virtualization instance. The computing server 120 may provide various tasks of data analysis and process optimization to the domain 110 as a form of cloud-based software, such as software as a service (SaaS), through the network 140. Alternatively, or additionally, to the SaaS, the computing server 120 may provide on-premise software to the domain 110.

A client device (or client) 130 may be a computing device that can transmit and receive data via the network 140. Some or all of the components of a client device 130 is illustrated in FIG. 10. A client may be personnel, an expert, or an outside contractor of the domain 110. The client also may be referred to as a user or an end user of the computing server 120. The client device 130 also may be referred to as a user device or an end user device. A client may use the client device 130 to perform various process-related or resource-planning functions such as accessing, storing, creating, and modifying process models, defining key performance indicators or goals for optimizing process models, making corrections and labels to various automated tasks performed by computing server 120, receiving communications from the computing server 120 related to recommendations and suggested courses of action, and making queries to the computing server 120 regarding various process models such as why a particular model is not optimized. A client device 130 includes one or more applications 132 and user interfaces 114 that may display visual elements of the applications 132. The client devices 110 may be any computing devices. Examples of such client devices 120 include personal computers (PC), desktop computers, laptop computers, tablets (e.g., iPADs), smartphones, wearable electronic devices such as smartwatches, or any other suitable electronic devices.

The application 132 may be any suitable software applications that operate at the client device 130. A client device 130 may include various applications 132 such as a client-side version of the resource planning application 115 and software provided by the computing server 120 for process optimization. An application 132 may be of different types. In one case, an application 132 may be a web application that runs on JavaScript or other alternatives, such as TypeScript, etc. In the case of a web application, the application 132 cooperates with a web browser to render a front-end interface 134. In another case, an application 132 may be a mobile application. For example, the mobile application may run on Swift for iOS and other APPLE operating systems or on Java or another suitable language for ANDROID systems. In yet another case, an application 132 may be a software program that operates on a desktop computer that runs on an operating system such as LINUX, MICROSOFT WINDOWS, MAC OS, or CHROME OS.

An interface 134 may be a suitable interface for interacting with clients. The interface 134 may be used to display various visualizations of process models such as process maps and be used to receive inputs from the clients related to the process models and resource planning application 115. The client may communicate to the application 132 and the computing server 120 through the interface 134. The interface 134 may take different forms. In one embodiment, the interface 134 may be a web browser such as CHROME, FIREFOX, SAFARI, INTERNET EXPLORER, EDGE, etc. and the application 132 may be a web application that is run by the web browser. In another application, the interface 134 is part of the application 132. For example, the interface 134 may be the front-end component of a mobile application or a desktop application. The interface 134 also may be referred to as a graphical user interface (GUI) which includes graphical elements to display process maps. In another embodiment, the interface 134 may not include graphical elements but may communicate with the data management server 120 via other suitable ways such as application program interfaces (APIs).

The network 140 provides connections to the components of the system environment 100 through one or more sub-networks, which may include any combination of local area and/or wide area networks, using both wired and/or wireless communication systems. In one embodiment, a network 140 uses standard communications technologies and/or protocols. For example, a network 140 may include communication links using technologies such as Ethernet, 802.11, worldwide interoperability for microwave access (WiMAX), 3G, 4G, Long Term Evolution (LTE), 5G, code division multiple access (CDMA), digital subscriber line (DSL), etc. Examples of network protocols used for communicating via the network 140 include multiprotocol label switching (MPLS), transmission control protocol/Internet protocol (TCP/IP), hypertext transport protocol (HTTP), simple mail transfer protocol (SMTP), and file transfer protocol (FTP). Data exchanged over a network 140 may be represented using any suitable format, such as hypertext markup language (HTML), extensible markup language (XML), JavaScript object notation (JSON), structured query language (SQL). In some embodiments, all or some of the communication links of a network 140 may be encrypted using any suitable technique or techniques such as secure sockets layer (SSL), transport layer security (TLS), virtual private networks (VPNs), Internet Protocol security (IPsec), etc. The network 140 also includes links and packet switching networks such as the Internet. In some cases, the computing server 120 may belong to a part of the internal computing system of the domain 110. In such cases, the network 140 may be a local network that enables the computing server 120 to communicate with the rest of the components of the domain 110.

Example Domain and Computing Server Components

FIG. 2 is a block diagram illustrating various components of an example domain 110 and various components of an example computing server 120, in accordance with an embodiment. In various embodiments, the domain 110 and the computing server 120 may include fewer or additional components. The domain 110 and the computing server 120 also may include different components. The functions of various components in domain 110 and the computing server 120 may be distributed in a different manner than described below. Moreover, while each of the components in FIG. 2 may be described in a singular form, the components may present in plurality. Further, the components of the domain 110 and/or the computing server 120 may be embodied as modules comprised of software (e.g., program code comprised of instructions) that is stored on an electronic medium (e.g., memory and/or disk) and executable by a processing system (e.g., one or more processors and/or controllers). The components also could be embodied in hardware, e.g., field programmable gate arrays (FPGAs) and/or application specific integrated circuits (ASICs), that may include circuits alone or circuits in combination with firmware and/or software.

The domain 110 includes various data and ontology that defines the domain's knowledge, nomenclature, logic, and relationships. The domain 110 may include unstructured sources 212, master data 214, master data schema 216, transaction data 218, transaction data schema 220, organization process models 222, organization process metadata 224, and domain knowledge ontology 226. The data, structured or unstructured, may be stored in the same memory (e.g., the same hard drive) or distributed in various computing devices. The data may be accessed directly or through one or more resource planning applications 115.

Resource planning applications 115 may encompass various applications that allow personnel and other clients in the domain 110 to manage and analyze resources of the domain 110, such as entities, financials, transactions and processes associated with the domain 110. In one embodiment, a resource planning application 115 allows a client to input master data 214 and to define domain knowledge ontology 226. A resource planning application 115 may also manage a database for storing transaction data 218 in a structured manner such as by maintaining a structured query language (SQL) system for purchase orders, customer tickets, inventory entries, and other transaction data. A resource planning application 115 may also allow client devices (or clients) to build and adjust process models 222 associated with the domain 110. For example, a client may build a workflow for a product development cycle and define key personnel or departments needed for each step in the workflow. The domain 110 may include more than one resource planning application 115 and each of the applications 115 may be used for different tasks. In certain resource planning applications 115, the application 115 may also use artificial intelligence and other algorithms to automatically define master data 214 and domain knowledge ontology 226 for the domain 110.

Unstructured sources 212 includes various data sources that store information and data that are generated throughout the course of operations of the domain 110. Unstructured data often does not have a pre-defined data structure and may include a large amount of text. For example, unstructured data may include information that is in natural languages such as the text in emails. An email server that stores the emails of the domain's employees is an example of a data source that may serve as an unstructured source 212. Other examples of unstructured sources 212 may include documents, files, chat logs, PDF documents, word documents, text documents, scanned document images, etc. that are stored in different computers of the domain 110. Unstructured data may also include other information that is not entirely written in natural language or does not predominantly include text, such as call logs, machine logs (bot logs), process logs, etc. The different unstructured sources 212 and other structured sources may represent heterogeneous data sources of the domain 110.

Master data 214 may include information of relevant entities and objects in the domain 110. For example, master data 214 may describe parties, locations, and other objects around which the domain's businesses and events are conducted. The things that are recorded in the master data 214 may include customers, products, employees, assets, materials, suppliers, vendors, geographical locations, sites, etc. Master data 214 may be saved in a structured manner such as SQL, another relational structure, or another suitable data format, which may include key-value pairs. For example, master data 214 may take the form of identifiers that may uniquely associate a named entity or another object of the domain 110 with a data entry. Master data 214 may also include extended attributes that describe the qualities and other characteristics of the named entities or other objects. An example entry of master data 214 for an employee of the domain 110 may include a unique identifier of the employee that takes the form of a hash or a uniform resource identifier (URI) as a primary key, a type identifier that identifies the entry as an entry for employees, metadata associated with the entry, name of the employee, and various values that describe characteristics such as email address, address, date of employment, etc. The example entry of master data 214 may also include other child entries such as keys of other structured entries that are associated with the employee. The child entries may or may not be master data 214. For example, the entry may include the keys of master data entries of customers to describe the relationships between the employee and the customers. The entry also may include the keys of transaction data entries to associate the employee with transactions that involve the employee.

The master data schema 216 describes the relationships, structure, and hierarchies of various types of master data 214. For example, the master data schema 216 may take the form of a blueprint that describes the structure of the database of the master data 214. The blueprint may include a collection of schema objects and the connections, structure, and hierarchies of the schema objects. Schema objects may include tables, sequences, synonyms, indexes, clusters, links, procedures, functions, etc. For example, the master data schema 216 may include a table that describes a type of master data entries (e.g., employee entries), the primary key and foreign keys allowed to be associated with the type of entries, fields of attributes that are available for the type of entries, and potential connections between fields and other types of entries. For example, a connection between a field in a first entry and another type of entry may indicate that a particular attribute for the first entry may be a foreign key that is linked to another table associated with another type of data. Components of the master data schema 216 may include, for example, tables, fields, field lengths, field types, field descriptions, foreign key relationships, primary key relationships, etc.

Transaction data 218 may include information about relevant activities and events that occur around the domain 110. For example, transaction data 218 may include sales, deliveries, invoices, claims, customer service tickets, and other interactions among various entities and objects associated with the domain 110. Transactions may include processes, steps, events, and activities. A process may include multiple events. For example, a sales process may include the events of purchasing, order confirmation, warehouse identification of products, and delivery. Each event may have multiple instances of the event (e.g., multiple instances of purchasing of the same item, by different customers). The instances of the event may be referred to as activities. Activities recorded in the transaction data 218 often may be associated with timestamps, although such timing information may be absent for some records. Transaction data 218 similarly may be saved in a structured manner such as structured query language (SQL), another relational structure, or another data format, which may include key-value pairs. For example, an example entry of transaction data 218 for a manufacture event of the domain 110 may include a unique identifier that takes the form of a hash or a universal resource identifier (URI) as the primary key, a type identifier that identifies the type of process (e.g., the type is a manufacture sequence), metadata associated with the entry, objects and entities associated with the manufacture event (e.g., product codes, material identifiers, etc.), and timestamps for the key events in the process (time for raw material received, time for item completion, etc.).

In general, master data 214 may be associated with objects or entities of the domain 110 while transaction data 218 may be associated with temporal events occurring around those objects and entities.

Similar to master data schema 216, transaction data schema 220 describes the relationships, structure, and hierarchies of various types of transaction data 218. For example, the transaction data schema 220 may take the form of a blueprint that describes the structure of the database of the transaction data 218. The blueprint may include a collection of schema objects and the connections, structure, and hierarchies of the schema objects. Components of the transaction data schema 220 may include tables, fields, field lengths, field types, field descriptions, foreign key relationships, primary key relationships, etc.

The process models 222 may include data regarding various processes associated with the domain 110. For example, in a sales process, a process model as defined by the domain 110 may be a sequence of events that includes a confirmation of the order, a receipt of the payment, retrieval of items from a warehouse, a shipment of the items, a confirmation of delivery of the items, and the close of the sales transaction. In another example, in a manufacture process, an example process model as defined by the domain 110 may include reception of parts, storage of the parts, the creation of intermediate components, different stages of manufacturing, the packaging of the finished products, and storage of the products in a warehouse. The process model 222 may specify one or more responsible entities for each event. For example, in procurement, a manager in a domain 110 may need to approve the purchase. The process model 222 corresponding to the procurement process may identify the manager or type of manager needed for the step of purchase approval. The process models 222 may also store data and metadata related to the events in the process, such as timeline, an average time for a step, performance indicators associated with various steps, different possible routes in the process, and requirements associated with each step. A process model 222 may be defined manually by personnel of the domain 110 through a resource planning application 115. A process model 222 may also be automatically generated by the computing server 120 using an automatic processing mining engine 254 and further refined (manually or automatically). An example of visual representation of a process model 222 is illustrated in FIG. 8. A process model 222 may include the models, workflow stems, process definitions, and process relationships.

The domain 110 may initially create various process models 222 based on the practices of the domain 110. The domain 110 may receive refined or improved process models 222 based on suggestions of process variants transmitted from the computing server 120 after the computing server 120 analyzes and optimizes the process models 222 in manners that will be discussed in further detail in association with FIGS. 3-8. The process models 222 also may be edited manually by humans or machines. The process metadata 224 stores metadata regarding the process models 222 such as the time of creation or modification of a process model, the author of a process model, changes in a process model, etc.

The domain knowledge ontology 226 may include data that represents definitions, knowledge, rules, logics, and relationships among concepts that may be specific to the domain 110. Domain knowledge ontology 226 may include policies, rules, and relationship definitions. For example, the ontology for a business domain may describe known business rules dependent or independent of a particular business context. An example piece of domain knowledge may be that shipment orders that start with the letter “I” are denoted as international shipment orders for a particular domain 110. Such a rule or practice may be captured in the ontology. Another example of domain knowledge may be related to relationships among employees of the domain 110. For example, a piece of domain knowledge ontology may link several employees together to indicate they are in the same group and to include information regarding who the manager and team members are in the group.

Domain knowledge ontology 226 may be represented in various suitable formats such as serialization entries. For example, domain knowledge ontology 226 may be saved in the format of the resource description framework (RDF) and/or web ontology language. Domain knowledge ontology 226 may include classes and relationships as the main components. A class may represent a concept such as a rule or a policy, an entity, and other objects in the domain 110. A relationship may describe the connection between two classes. The ontology also may map similar business entities and store parent-child relationships between business entities.

In one embodiment, the domain knowledge ontology 226 may be represented by data in an extensible markup language format such as RDF. The RDF format may be expressed as resource, property type, and property value triplets. The domain knowledge ontology 226 may represent an object (e.g., an entity, an item, a facility, a store) as a resource that is uniquely identifiable by a URI. The object in the form of a resource may be associated with different attributes that can be identified as property types. Each attribute value may be expressed as the property value. In other words, property types express the relationship of values associated with resources. Value may take the form of a text string or numbers that could be atomic in nature, of another divisible value, or of another resource. A description of a resource may be a collection of the relationships among different property types and values associated with the resource, which is linked to other resources through property value. Some of the resources in the domain knowledge ontology 226 may be entries of master data 214. The property types of some resources in the domain knowledge ontology 226 may be entries of master data 214 and entries of transaction data 218. For example, an entry of the domain knowledge ontology 226 may specify, within the domain 110, a store ABC (a resource) has a store manager (property type) who is John Smith (property value, also a resource), which is express as a triplet. John Smith in turn has other different property types such as email address (atomic text strings), employee identifier (number), supervisees (other resources), returns approved by the store manager (transaction data), etc. that can be expressed by other triplets. The entries for the store ABC, John Smith and his supervisees may be named entities that are stored as a part of the master data 214. The return records approved by John Smith may be stored as a part of transaction data 218.

In one embodiment, the domain knowledge ontology 226 may impose a syntax requirement such as a formal structure that is compatible with XML and may allow users to define semantics using various customizable namespace conventions designed by the users. The domain knowledge ontology 226 also may be associated with a schema that defines the relationship between different property types, types of resources, available property types for a particular kind of resources, etc. Miller, Eric, “An introduction to the resource description framework,” Bulletin of the American Society for Information Science and Technology 25.1 (1998): 15-19 is incorporated by reference for all purposes.

Referring to the computing server 120 in FIG. 2, it includes various components that perform analysis of processes occurred around the domain 110. The computing server 120 may include a named entity extraction engine 252, an automatic process mining engine 254, a process optimization engine 256, an action recommendation engine 258, and an interface 262. The computing server 120 may rely on data of the domain 110, perform various analyses of the process models 222 of the domain 110, and automatically feed improved process models back to the domain 110. For example, the computing server 120 may retrieve various information such as data, metadata and schemas via suitable communication channels of the domain 110 such as through the application program interface (API) of one of the resource planning applications 115. The computing server 120 may perform calculations and analyses of the retrieved data and present the results through a graphical interface. The computing server 120 may also feedback the improved models and related data to the domain 110 via the API of the resource planning application 115. Each engine and component in the computing server 120 may include software algorithms that work with hardware as described in FIG. 10.

The named entity extraction engine 252 extracts named entities from various documents and files of the domain 110 such as from the unstructured sources 212. A named entity may be an object that is related to the domain 110, such as a person, a location, an organization, an item, an electronic product, etc. The named entity extraction engine 252 may automatically extract named entities from unstructured sources 132 to identify events that occur around the extracted named entities and to classify the extracted entities into master data 214. In one embodiment, the named entity extraction engine 252 may retrieve master data schema 216 and enrich the types of named entities in the master data schema 216 using domain knowledge ontology 226 to generates one or more RDF triplets that describe the relationships of the types of named entities. Based on the domain knowledge ontology 226 and the master data schema 216, the computing server 120 identifies targeted types of named entities to be extracted. The computing server 120 extracts named entities from unstructured data of the domain according to the targeted types of named entities identified. For example, the computing server 120 may retrieve unstructured data, convert the data into word embeddings, and input the word embedding into a machine learning algorithm such as a long short term memory recurrent neural network. The machine learning algorithm extracts named entities in the unstructured data and labels the extracted entities based on the type as identified in the master data 214 or the master data schema 216. The computing server 120 may also identify event sequences occurred around the extracted named entities. U.S. Pat. No. 10,607,704, issued on Mar. 31, 2020, entitled “Dynamically Trained Models of Named Entity Recognition over Unstructured Data,” is hereby incorporated by reference in its entirety for all purposes and for a more detailed description on an example named entity extraction process.

The automatic process mining engine 254 automatically performs process mining to generate and refine one or more process models associated with the domain 110 based on the master data schema 216, the transaction data schema 220, the extracted named entities, and domain knowledge ontology 226. The automatic process mining engine 254 identifies named entities in unstructured data of the domain 110 based on the master data schema 216 and the transaction data schema 220. The automatic process mining engine 254 identifies activities associated with the named entities, based on various data sources such as unstructured sources 212. The automatic process mining engine 254 labels the activities with a timestamp to generate an activity sequence that arranges labeled activities in accordance with the timestamps. In one embodiment, the generation of the activity sequences may include representing the named entities as embedding vectors based on relationships among the named entities, inputting the activities that are associated with the embedding vectors into a machine learning algorithm, and generating the activity sequences using the machine learning algorithm. In one case, the machine learning algorithm is a long short term memory recurrent neural network.

The automatic process mining engine 254 may generate an event sequence from one or more similar activity sequences. An “activity” may refer to a specific instance of an occurrence of a similar “event.” An event sequence may refer to a generalized sequence based on a summary of various activity sequences. For example, the automatic process mining engine 254 may extract, from various unstructured sources 212, different instances of sales of the same item. An activity sequence corresponding to the sales of the item may include a particular instance of the sale with a purchase number and a particular instance of delivery with a delivery number. Other activity sequences corresponding to the sales of the same item to different customers that are extracted by the automatic process mining engine 254 may be similar, but some of the sequences may include variations such as returns, multiple attempts to deliver, etc. From a number of extracted activity sequences, the automatic process mining engine 254 may generalize an event sequence that describes the process of selling the item in several generalized events, such as receipt of the order, order confirmation, outbound of the item from warehouse, delivery, etc. A process model may be constructed based on one or more event sequences. For example, several versions of event sequences corresponding to the same process may be generated because of variations occurred during transactions related to different instances of the process. A process model may be branched as a result. U.S. Pat. No. 10,592,544, issued on Mar. 17, 2020, entitled “Generation of Process Models in Domains with Unstructured Data,” is hereby incorporated by reference in its entirety for all purposes and for a more detailed description on an example named entity extraction process.

The automatic process mining engine 254 may also identify one or more bottlenecks in a process model 222. The automatic process mining engine 254 identifies outliers in a process model. What constitutes an outlier may be defined by the users of the domain 110. For example, the automatic process mining engine 254 may use performance indicators to measure a process model that includes an outlier. The performance indicators, which may also be referred to as key performance indicators (KPI), may be user-defined. Examples of performance indicators include time, cost, labor, and other metrics that measure the quality of one or more steps in the process model. An outlier may be a step in the process model that is statistically outside the norm of average processes. For example, the same or otherwise comparable steps of various transactions may be modeled using a Gaussian distribution. The transactions that include steps having the performance indicators that are beyond a certain number of standard deviation (e.g., 3 standard deviations) may be labeled as outliers.

The process optimization engine 256 improves one or more process models 222 associated with the domain 110. The process models 222 may be the ones that are generated manually via a resource planning application 115 or the ones that are automatically generated by the automatic process mining engine 254. The process optimization engine 256 may generate a consolidated fact table that combines facts related to a process model 222 in a more structured fashion. The facts in the consolidated fact table may be drawn from various sources, including master data 214, master data schema 216, transaction data 218, transaction data schema 220, process models 222, domain knowledge ontology 226, and manual inputs such as user's selection of performance indicators. The process optimization engine 256 aggregates the master data 214, transaction data 218, and other suitable data to generate the consolidated fact table based on the domain knowledge ontology 226. The entries (e.g., rows) of the consolidated fact table may correspond to an instance of a transaction that is relevant to the process model 222. For example, the process model 222 may include multiple steps, and the process optimization engine 256 may identify one or more instances of the same step from various sources. The columns of the consolidated fact table may include various attributes of an instance of a transaction. For example, the columns can be event labels (e.g., “pay an invoice,” “approve a purchase,” “confirm delivery,” “launch of beta testing,” etc. depending on the type of process models), timestamp, named entities involved, the role of the named entities, etc. The columns may be dynamic based on the context of the process model 222 that needs to be optimized. To select the columns to be involved in a consolidated fact table, a user in the domain 110 may specific some of the initial columns as a baseline for the process optimization engine 256. The process optimization engine 256 may include one or more machine learning algorithms to continue to improve what columns need to be included in the consolidated fact table.

The process optimization engine 256 may apply one or more machine learning techniques to analyze the entries of the consolidated fact tables to determine aspects of a process model 222 that can be optimized. For example, the process optimization engine 256 may convert entries in the fact tables into vectors. The process optimization engine 256 inputs the vectors into one or more machine learning algorithms to generate one or more algorithm outputs that may correspond to an improved process model. The improvement may be with respect to a performance indicator that is selected by a user. The output of the machine learning algorithms may be further enhanced by domain knowledge ontology and manually corrected or refined by humans or robots. The improved process model may be fed back to the domain 110 to replace one of the existing process models 222. Details of the process optimization will be further discussed with reference to FIG. 3 through FIG. 8.

The action recommendation engine 258 may generate recommendations and courses of action to be taken that will improve a process model. In one embodiment, the action recommendation engine 258 may automatically route the recommendation to the appropriate agent. An agent can be personnel of the domain 110, a machine, a department of the domain 110, or another appropriate entity that can carry out an action in the process. The action recommendation engine 258 may extract process models 222 and automatically assign actions to appropriate agents. The action recommendation engine 258 may generate a recommendation for the domain 110 to take in order to improve a process model 222. For example, the action recommendation engine 258 may recommend skipping a step in the process model 222 to streamline the process, changing personnel in a certain step of a process, altering the route in a process, etc. The action recommendation engine 258 may also automatically route action items in a process model 222 to an agent that improves the process. For example, the action recommendation engine 258 may identify that agent A is more efficient than agent B due to agent B's backlog. The action recommendation engine 258 may automatically route a task that can be done by either agent A or agent B to agent A.

The action recommendation engine 258 identify a recommended action based on various machine learning techniques that analyze the data from various sources, including master data 214, master data schema 216, transaction data 218, transaction data schema 220, process models 222, domain knowledge ontology 226, and manual inputs such as user's selection of performance indicators. Similar to the process optimization engine 256, the action recommendation engine 258 may generate a consolidated fact table that combines facts related to a process model 222. The action recommendation engine 258 aggregates the master data 214 and transaction data 218 based on the domain knowledge ontology 226 to generate the fact table. The action recommendation engine 258 converts entries in the fact table into vectors. Based on the vectors, the action recommendation engine 258 identifies a step in the process model 222 as being statistically significant on impacting a performance indicator of the process model 222. The action recommendation engine 258, in turn, generates a recommended action associated with the step to improve the process model 222. The action recommendation engine 258 provides the recommended action to an agent associated with the domain 110.

The query engine 260 may provide an interface for users to query information related to various process models 222. The query engine 260 aggregates the query with domain knowledge ontology 226. The query engine 260 returns results that are related to process models 222. For example, the queries may be related to attributes of the process models 222 (e.g., an average time of completion of a particular process, steps involved a process model), agents involved in a process model 222, reasons why a particular process model 222 is not optimized, recommendations on improving a process model 222, etc. The query engine 260 may operate in the format of database queries (e.g., SQL) or natural language queries. The query engine 260 may receive a natural language query and aggregate the query with domain knowledge ontology 226 to convert the natural language query into a database query to retrieve relevant data. The returned result may be in table format or in one or more natural language sentences.

The interface 262 may provide an interface to transmit and display results and data generated from the analysis performed by the computing server 120. For example, a process model 222 may be visualized as a process map. The interface 262 may be in the form of a GUI to display the process map and allow users to provide inputs via the GUI. A user may input manual actions to the process models 222. For example, a user may specify that a certain step is automated, eliminate a certain step in a process model 222 that is deemed unnecessary, and change one or more steps. The user may also provide feedback and corrections to a process model 222. For example, a process model 222 that is generated by automatic process mining engine 254 or optimized by the process optimization engine 256 may be corrected and further defined by a user input. The interface 262 may also receive performance indicators that are associated with a particular step or to an entire process. For example, a user may specify that the first step in a process model 222 is to be optimized based on time and the second step is to be optimized by cost. The interface 262 may take different forms. In one embodiment, the interface 262 may be an application interface that is provided and controlled by the computing server 120. For example, the computing server 120 may provide the results of its analysis through cloud-based SaaS. The interface 262 may be a front-end software application that can be installed, run, and/or displayed at a client device for users of the domain 110. The interface 262 also may take the form of a webpage interface of the computing server 120 to allow clients to access data and results through web browsers. The interface 262 may include a GUI that displays various results and data analyzed by the computing server 120, such as an identified bottleneck of a process and a suggest process variant. In another embodiment, the interface 262 may not include graphical elements but may provide other ways to communicate with the domain 110, such as application program interfaces (APIs).

Example Process Optimization Workflow

FIG. 3 is a block diagram illustrating example inputs and outputs for the computing server 120 to perform automatic process optimization, in accordance with an embodiment. The process optimization may be carried by the process optimization engine 256. The computing server 120 may communicate with the domain 110 through one or more communication channels, such as cloud synchronization and APIs. The computing server 120 may receive different data from the domain 110 (e.g., through an API provided by a resource planning application 115). The data retrieved from the computing server 120 may include process models 222 from resource planning application 115. The process models 222 may in a format that complies with business process model and notation (BPMN). The computing server 120 may also receive process maps 310. A process map 310 may be a process model 222 that is automatically generated by the computing server 120, such as using the automatic process mining engine 254. An example of a visual representation of the process map 310 is shown in FIG. 8. In performing process optimization, the computing server 120 may also receive master data 214, master data schema 216, transaction data 218, transaction data schema 220, and domain knowledge ontology 226. The input domain knowledge ontology 226 may be in an RDF format. The domain knowledge ontology 226 describes business rules, logics and relationships that may be dependent or independent of a particular business context. The domain knowledge ontology 226 may also map similar business entities and provide parent-child relationships among business entities.

The computing server 120 may also receive user manual actions 320. The user manual action 320 may be directed to optimize the process model 222. For example, the user manual actions 320 may include automation of a certain step in a process model 222, elimination of a step in the model, and a transformation of a step in the model. The computing server 120 may also receive performance indicators 330 such as revenue, cost, time, etc. The user may specify which performance indicators 330 are used to optimize the process models 222. A performance indicator 330 can be step-specific or general to the entire process model 222. Different process models 222 may be associated with different performance indicators 330.

The computing server 120, using one or more machine learning techniques, analyzes the data and inputs received from various sources and generates improved process models 340 that improve upon existing business process models with respect to one or more performance indicators. For example, an improved process model 340 may reduce the average time needed to complete a process model 222. An improved process model 340 may also reduce the cost with respect to a certain step or the entire process. In yet another example, a process model 222 may be related to the research and development of a new product. The performance indicator, in this case, may be the number of stages that meet project deadlines. An improved process model 340 may streamline the research and development process at a certain stage to reduce the delay of the development process. Other examples improved process models 340 that are based on other performance indicators are also possible in various contexts and embodiments.

An improved process model 340 may also be enriched by domain knowledge ontology 226. For example, the domain knowledge ontology 226 may include insight on the personnel involved in a process, specify certain estimated procedures of a step of a process model 222, and define special rules in a process model 222. The information in the domain knowledge ontology 226 may also be captured by the computing server 120 in process mining. For example, in a drug development process, an approval from a regulatory body may be needed for a certain step, such an approval requirement may be captured as a rule in the domain knowledge ontology 226. An improved process model 340 (enriched with domain knowledge ontology or not) may be fed back to the domain 110 to replace one of the existing process models 222.

The optimization and feedback process may be performed automatically to form a self-optimized closed-loop system. For example, the computing server 120 may retrieve unstructured data 212, master data schema 216, and domain knowledge ontology 226 through the API of a resource planning application 115. The computing server 120 automatically generates a process model 222. The computing server 120 continues to monitor transaction data 218 of the domain 110 and optimizes the process model 222 generated by the computing server 120. The improved process model 340 is fed back to a data store to replace the existing process model 222. The computing server 120 continues to monitor the transactions and data of the domain 110 so that the process model is automatically optimized (self-optimized) by the computing server 120.

FIG. 4 is a block diagram illustrating an example flow 400 for optimizing an existing process model of a domain 110, in accordance with an embodiment. The example process model optimization flow 400 may be performed by various components of the computing server 120, such as by the process optimization engine 256. The example process model optimization flow 400 may include a pre-processing stage 500, an algorithm training and process optimization stage 600, and a post processing stage 700. A flow in accordance with other embodiments may include different, fewer or additional stages.

In the pre-processing stage 500, the computing server 120 receives one or more of the following types of data or inputs, such as user manual action 320 that might change or correct a target process model 222, the master data 214, the master data schema 216, the transaction data 218, the transaction data schema 220, the domain knowledge ontology 226, other process models 222, process maps 310 that might be previously automatically generated by the automatic processing mining engine 254 of the computing server 120, and the selection and criteria of performance indicators 330 that may be set by a user to measure the optimization of a process model 222. In various embodiments, the computing server 120 may receive fewer, additional, or different data or inputs. In the preprocessing stage 500, the computing server 120 selects data that may be relevant to a target process model 222 that is in the process of being optimized. The computing server 120 aggregate the selected data based on the domain knowledge ontology 226 to generate a consolidated fact table 510 whose data will be used in the algorithm training and process optimization stage 600.

In the algorithm training and process optimization stage 600, the computing server 120 receives data in the fact table 510 and manual user actions 320 to generate the recommended process optimizations by using one or more machine learning algorithms, which may extract features of a process model 222 that is related to optimization. The computing server 120 may convert data entries in the fact table 510 into mathematical representations such as vectors. The data entries and manual user actions 320 in mathematical representations are input into one or more machine learning algorithms to identify features that are related to optimization of a process model 222, such as the steps that cause delay or increase in costs in the process model 222. The computing server 120 may rely on user manual actions 320, such as a manual change to a step, for the training of the machine learning algorithm. The computing server 120 may also rely on other optimized processed models as training samples to train the machine learning algorithm. The optimization recommendations identified by the machine learning algorithm may be determined with respect to one or more performance indicators 330. For example, an optimization towards time may result in a change of a step in the process model 222 that is different from an optimization towards costs. The results of the machine learning algorithm are outputted as algorithm outputs 610 and are passed to the post processing stage 700.

In the post processing stage 700, the computing server 120 reads the algorithm outputs 610. The computing server 120 enriches the algorithm outputs 610 based on the domain knowledge ontology 226. The computing server 120 may also capture human or machine corrections to the algorithm outputs 610. For example, the domain 110 may have experts to review some of the algorithms outputs 610 to determine whether there are any mistakes in the algorithm outputs 610. The enriched and corrected algorithm outputs 610 may be outputted as process optimization recommendations and incorporated in improved process models 340. The computing server 120 may also provide a feedback loop to the domain 110 based on the process optimization recommendations. For example, improved process models 340 may be fed back to a resource planning application 115 via the application's API. The post-processing stage 700 may also generate reinforcement 720 that is used to further train the machine learning algorithms in the algorithm training and process optimization stage 600.

Example Preprocessing Stage

FIG. 5 is a flowchart illustrating an example preprocessing stage 500, in accordance with an embodiment. In this preprocessing stage 500, the computing server 120 may generate a consolidated fact table that includes entries of activities and associated entities that may be relevant to a target process model 222. The detail described in FIG. 5 is an example implementation of the preprocessing stage 500. In various embodiments, other variations of the preprocessing stage 500 may also be possible. In various embodiments, one or more steps shown the flow shown in FIG. 5 may be skipped or changed. Other steps that are not shown in FIG. 5 may also be added. The preprocessing stage 500 may be carried out by various components of the computing server 120, such as the process optimization engine 256.

In an example preprocessing stage 500, the computing server 120 may receive 520 master data 214 and master data schema 216 and receives 524 transaction data 218 and transaction data schema 220. The master data schema 216 and the transaction data schema 220 may include fields, field lengths, field types, field descriptions, foreign key relationships, primary key relationships of the master data 214 and the transaction data 218 respectively.

The computing server 120 may also receive 526 one or more existing process models 222 of a domain 110. The existing process models may include process models 222 that may be manually built by users of a domain 110 in the format of BPMN and saved in a resource planning application 115. The computing server 120 may also receive 528 other types of existing process models 222, which may include process maps 310 that may be previously generated by the computing server 130 automatically. The types of process models 222 (including process maps 310) received by the computing server 130 may depend on the context. The received process models 222 may include a target process model that needs to be optimized, similar or related process models, and other process models that may be used for the model training in the algorithm training and process optimization stage 600. The process models 222 received by computing server 120 may include the models, workflow stems, process definitions, and process relationships.

The computing server 120 may also receive 530 performance indicators 330 that are specified by the users of the domain 110 for the optimization goals. For example, the performance indicators 330 may include one or more threshold values specified by the users to define the optimization goals.

The computing server 120 aggregates, based on the domain knowledge ontology 226 of the domain, the master data 214 and the transaction data 218 to generate a consolidated fact table. The aggregation process may include receiving 532 the domain knowledge ontology 226. The computing server 120, based on the domain knowledge ontology 226, derives the relationship of entities in the master data 214 and the transaction data 218. For example, the computing server 120 may convert 534 master data 214 and master data schema 216 to RDF based business grammar, which may be represented as a semantic triplet with the named entities. The relationship between named entities may be derived from the RDF based business grammar. The computing server 120 may also convert 536 transaction data 218 and the transaction data schema 220 to business grammar RDFs. The domain knowledge ontology 226 may include relationships, rules, and definitions that provide a framework for the conversion of master data and transaction data into business grammar RDFs. The domain knowledge ontology 226 may also include existing business grammar RDFs. Related RDFs can be linked. Based on the connections among the RDFs, the computing server 120 derives 538 relationships among entities in business grammar. The computing server 120 also derives 540 relationships among transactions in business grammar. The computing server 120 may convert the relationships of the entities into serialization entries, such as in the format of RDFs.

The computing server 120 derives 542 a consolidated fact table 510 from the relationships among entities and transactions, the process models 222, process maps 310, and performance indicators 330. The consolidated fact table 510 may include entries (e.g., rows in the table) that include various attributes. Each entry may correspond to an instance of a relationship or a transaction. For example, if the target process model 222 is related to a research and development process, the entries in the fact table 510 may correspond to different instances of development stages. The entries may include attributes such as the named entities (e.g., engineers) who were involved, time spent on each stage, whether the result of a stage was implemented, etc. In another example, if the target process model 222 is related to the sales transaction of a particular type of product, the entries in the fact table 510 may correspond to different events involved in the sales of different items that belong to the type of product. Those events may include sending an invoice, receipt of payment, confirming a purchase, delivery of goods, settling conditions, etc. The entries may include attributes such as the cost of each item, the named entities involved, the delivery cost, the time of delivery, for different instances of the events.

Whether the attributes (e.g., columns in the consolidated fact table 510) of entries are deemed by the computing server 120 as relevant to be included in the consolidated fact table 510 may depend on the context of the target process model 222 to be optimized. The selection of the attributes (e.g., whether a column should be present in the consolidated fact table 510) may depend on the information in the target process model 222, the specified performance indicators 330, and the domain knowledge ontology 226. For example, the target process model 222 may identify certain steps in the process model 222 as required. Attributes in the process model 222 related to those steps may be included as the columns in the consolidated fact table 510. In another case, performance indicators 330 specified by the users of the domain 110 may have an impact on the selection of attributes. For example, if the performance indicator 330 is time instead of cost, timestamps of start and completion of events will be more likely to be selected as the attributes compared to the money spent for a step in the process. The RDFs and related business grammar may also affect the selection of the attributes. For example, if an RDF specifies that a step requires approval from a manager due to compliance requirements, the name and positions of the managers who can approve the step will be more likely to be selected as the attributes in the consolidated fact table 510.

The selection of the attributes by the computing server 120 may be based on manual commands from users of the domain 110 (e.g., experts who are tasked with helping to optimize various business processes in the domain 110), based on machine learning algorithms that are dynamically trained to learn how to select which attributes to be included based on the process model 222, the performance indicators 330, and the domain knowledge ontology 226, or based on a combination of both automatic selection and manual correction. In one embodiment, users of the domain 110 may select attributes that need to be included for a given process model 330. The computing server 120, in turn, selects data of the attributes to be included in the consolidated fact table 510. In another embodiment, training samples may be given for the computing server 120 to train a machine learning algorithm to select attributes to be included in the consolidated fact table 510. For example, positive training samples may include various types of process models and each sample may include attributes that are manually identified as relevant to a particular process model. Negative training samples may each include attributes that are manually determined as not relevant to a particular process model. The computing server 120 may train a machine learning algorithm, such as a regression model, a support vector machine, a decision tree model (e.g., random forest), a neural network to identify attributes that need to be included in a consolidated fact table 510. In yet another embodiment, manually selected data may serve as a baseline for the selection of attributes. The computing server 120 dynamically train a machine learning algorithm to further improve the selection of attributes. The selection may also be adjusted or forced by a user manually.

For a particular attribute selected to be included in the consolidated fact table 510, data of the attribute for each entry may be derived from various data sources such as the master data 214, master data schema 216, the transaction data 218, the transaction data schema 220, the domain knowledge ontology 226, the process model 222, and various relationships specified in business grammar RDFs. For example, the RDFs may specify relationships that allow the computing server 120 to trace back to the master data 210 for the named entities that are involved in a particular instance of an event. The master data 214 and the transaction data 218 may also be organized in a structured manner that allows certain attributes in the master data 214 and the transaction data 218 to be transferred to the consolidated fact table 510. In one case, to construct the consolidated fact table 510, the computing server 120 may scan through the transaction data 218 to identify each entry that should be included in the consolidated fact table 510 and search other data sources for data of attributes that are not included in the transaction data 218. The consolidated fact table 510 is outputted to the algorithm training and process optimization stage 600.

While the term consolidated fact table is used in this disclosure in relationship with the preprocessing stage 500, the aggregated fact entries generated in the preprocessing stage 500 may include entries that may be presented in formats other than a tabular form. For example, the entries may also be presented in other formats such as arrays, tensors, matrices, key-value pairs, a markup language such as XML, JSON, Pandas, data frames, etc. The term consolidated fact table refers to aggregated entries that are presented in any suitable formats that may or may not involve rows and columns.

Example Algorithm Training and Process Optimization

FIG. 6 is a flowchart illustrating an example algorithm training and process optimization stage 600, in accordance with an embodiment. In this algorithm training and process optimization stage 600, the computing server 120 may apply various machine learning techniques, train one or more machine learning algorithms, and execute the machine learning algorithms to perform optimization of a target process model 222. The detail described in FIG. 6 is an example implementation of the algorithm training and process optimization stage 600. In various embodiments, other variations of the algorithm training and process optimization stage 600 may also be possible. For example, the type of machine learning algorithms used (e.g., a convolutional neural network, a conditional random field) may be replaced by other types of machine learning algorithms (e.g., a regression model, a decision tree model, a support vector machine, a recurrent neural network, a long short term memory network, etc.). In various embodiments, one or more steps shown the flow shown in FIG. 6 may be skipped or changed. Other steps that are not shown in FIG. 6 may also be added. The algorithm training and process optimization stage 600 may be carried out by various components of the computing server 120, such as the process optimization engine 256.

The computing server 120 may receive the consolidated fact table 510 and user manual actions 320. The consolidated fact table 510 may include entries relevant to a target process model 222 that are extracted from various data sources from the domain 110, such as master data 214, transaction data 218, and the domain knowledge ontology 226. The user manual actions 320 includes manual actions of users that are used or selected to improve the target process model 222. Example actions may include selections of automation of one or more steps in the process model 222, elimination of one or more steps in the process model 222, and transformation of one or more steps in the process model 222. Based on different actions, the recommendation to improve a process model 222 may be categorized by different classes (automation, elimination, transformation, etc.). The user manual actions 320 may serve as a baseline for labels on whether some of the steps in process models 222 may be optimized, automated, removed, etc. For example, the user manual actions 320 could serve as initial inputs for the training of the machine learning algorithms in the algorithm training and process optimization stage 600. Some user manual actions 320 may also serve as the output of some of the machine learning algorithms. For example, some user manual actions 320 may specify a requirement in the process model 222 that should be adopted in the optimization process.

To input entries in the fact table 510 into one or more machine learning algorithms, the computing server 120 may convert the entries in the fact table 510 into vectors. The computing server 120 may perform 620 feature scaling on the entries in the fact table 510 and the user manual actions 320 to scale the numerical representations of the attributes in the entries and in the user manual actions 320. For example, the computing server may normalize the range of the features (e.g., numerical representations of attributes in the entries) so that the raw data have comparable ranges. Normalizing the ranges of the features may prevent a certain feature (e.g., a certain column in the fact table 510) from dominating the effect on the machine learning algorithms. Examples of suitable feature scaling may include any suitable normalization or standardization techniques, such as min-max scaling, standard deviation scaling, mean normalization, z-score normalization, scaling to a unit length, quantile transformer scaling, and power transformer scaling.

The computing server 120 may also generate 630 embedding vectors (e.g., word embedding) for text features in the entries. Some of the attributes in the entries of the fact table 510 may be represented by numerical values while other attributes may include text. For the text attributes, embedding vectors may be generated to represent the text as a feature. A word embedding may be a vector in an n-dimensional space that represents the semantic relationships of the word relative to other words presented in a corpus. The corpus in generating the word embeddings may include documents of the organization and documents from the domain 110 or even documents from external sources. The computing server 120 generates word embeddings based on the named entities that labeled, the label values, text context, label position in the text contexts. For example, in a transaction record, “Peter purchased a refrigerator model #123 at Santa Monica store” may be labeled with various label values by named entities recognition as “[Peter]_(customer) purchased a [refrigerator]_(item) model [#123]_(model_num) at [Santa Monica store]_(store_ID).” The labels, text context, label position may be converted into numerical representation in different dimensions of the word embeddings. Pennington, Jeffrey, Richard Socher, and Christopher Manning, “Glove: Global vectors for word representation,” Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2014 is hereby incorporated by reference for all purposes.

The computing server 120 may generate feature vectors corresponding to entries in the fact table 510 or corresponding to user manual actions 320. The attributes in the entries of the fact table 510 may be continuous variables that are representable by numerical values, categorical variables whose labels of category can be converted to numerical values, or text variables. For example, for attributes that can be represented by numerical values, those attributes may be scaled by feature scaling. For text attributes, word embedding may be generated as part of a feature vector. The embedding may also be scaled by feature scaling. Other suitable techniques to generate feature vectors are also possible.

The computing server 120 may input 640 the features vectors into one or more machine learning algorithms to generate one or more algorithm outputs. One or more of the algorithm outputs may be an improved process model 340. In one embodiment, the computing server 120 stores a machine learning algorithm to perform process optimization. The machine learning algorithm may be a fully trained model or a dynamically trained model, which may be initially partially trained and continued to be trained with additional training samples.

The computing server 120 may perform training of the machine learning algorithm. The training samples may include transactions that correspond to one or more steps in the process model 222. Each training sample may be labeled as optimized or not optimized, or be labeled using a scale of optimization (e.g., 0-10, which 10 referring to the most optimized). For example, a step in a process model 222 may be an invoice approval step. The step may be associated with various attributes such as the type of invoice, the charge amount, the person who approved the invoice, the time it took to approve the invoice, etc. Personnel of the domain 110 may manually assign a label of whether a particular transaction is optimized or not to the training sample. Alternatively, or additionally, the user manual actions 320 may also provide the labels for the training sample. For example, a step in a process model 222 adjusted before the user manual action 320 may be labeled as not optimized while the step after user manual adjustment may be labeled as optimized. Those transactions may be captured in as entries in the consolidated fact table 510. The computing server 120 converts the transactions as feature vectors with values of the attributes as features in the vectors. A subset of the training samples may be referred to as a positive training set, which includes transactions that are labeled as optimized (or labeled with a high degree of optimization). Another subset of the training samples may be referred to as a negative training set, which includes transactions that are labeled as not optimized (or labeled with the low degree of optimization). In another embodiment, instead of using a binary classification (optimized or not optimized), the set of training samples may include more than two subsets.

The training of a machine learning algorithm used for process optimization may include an iterative approach to gradually improve an objective function associated with the machine learning algorithm using the training set. A machine learning algorithm used in this case may be a neural network, such as a convolutional neural network (CNN), recurrent neural network (RNN), or a long short-term memory network (LSTM). The machine learning algorithm may include multiple layers and each layer may have multiple nodes (e.g., neurons in a neural network). The layers and the nodes may be associated with multiple kernels, coefficients, and weights that can be adjusted. Training the machine learning algorithm may include forward propagation and back propagation. In forward propagation, the machine learning algorithm relies on the values of the kernels, coefficients, and weights in the current iteration to make predictions of the training samples' labels. For example, the computing server 120 may input the feature vector representing a transaction for the machine learning algorithm to make a prediction whether the transaction is optimized or not. The prediction of whether the transaction is optimized or not is then compared to the actual label of the training sample. The objective function may be a loss function that determines how well the machine learning algorithm makes predictions for the overall training set (e.g., how many correct predictions out of a set of training samples) in a given iteration. In back propagation, the computing server 120 uses techniques such as coordinate descent to adjust the values of the kernels, coefficients, and weights in a direction that is projected to improve the value of the object function. In the next iteration, forward propagation is executed again to make a new round of predictions using the newly adjusted values of the kernels, coefficients, and weights. Forward and back propagations are executed in multiple iterations to continue to improve the performance of the machine learning algorithm. Training may be completed when the model converges (e.g., the value of the objective function no longer improves notably) or after a predetermined number of iterations. The kernels learned in the training process often related to various features or summaries that are associated with attributes or things that signify whether a step is optimized or not optimized.

The training also may be based on one or more performance indicators, such as time, costs, and revenue. For example, multiple machine learning algorithms may be trained. Each model may correspond to a performance indicator. In another embodiment, a machine learning algorithm may be trained with the performance indicators as part of the attributes in the training samples so that the machine learning algorithm can optimize the process model 222 based on a performance indicator. In yet another embodiment, a second machine learning algorithm may be used to optimization based on one performance indicator from optimization based on another performance indicator.

In executing the machine learning algorithm, the computing server 120 receives entries in the fact table 510 that are extracted from data of the domain 110 and may also receive one or more user manual action 320. The entries in the fact table 510 usually do not have labels on whether the corresponding transactions are optimized or not. In turn, the computing server 120 inputs the vectors corresponding to the entries into the machine learning algorithm to generate one or more algorithm outputs. One or more algorithm outputs 610 may be event sequences that include a plurality of events. The event sequences may be a more optimized version of an existing process model 222.

The computing server 120 may input 650 one or more algorithm outputs into a second machine learning algorithm such as a conditional random field, a dependency tree, or a sequence model such as a Markov model. A conditional random field may be used to classify outputs of the first machine learning algorithm. For example, possible optimization actions may be classified into multiple classes, such as automation, elimination, and transformation. The number of classes can be configurable in the system. As part of the labeling of the output model, a user can choose from the predefined classes. The class boundary is relevant as a filter to the output of the response. The conditional random field may be used to filter a certain class of output. Filtering the event sequences may be based on a probability that one of the event sequences is associated with an optimization action.

The computing server 120 generates 660 one or more algorithm outputs 610, which may include an improved process model 340. The computing server 120 may receive 670 reinforcement based on feedback generated from the post processing stage 700. For example, the post processing stage 700 may receive a manual correction to change a step in the algorithm output 610. The change in the step may be treated as a new training sample for training the machine learning algorithms. In one case, a user may manually reject a suggested optimized step. The rejected step may be treated as a negative training sample to further train the machine learning algorithm. The computing server 120 transmits 680 the algorithm outputs 610 to the post processing stage 700. The computing server also persists 690 the trained machine learning algorithms by storing the machine learning algorithm to a memory.

Example Post Processing Stage

FIG. 7 is a block diagram illustrating an example post processing stage 700, in accordance with an embodiment. The computing server may perform post processing by reading 730 the algorithm outputs 610 from the model learning and process optimization stage 600. The detail described in FIG. 7 is an example implementation of the post processing stage 700. In various embodiments, other variations of the post processing stage 700 may also be possible. Also, in various embodiments, one or more steps shown the flow shown in FIG. 7 may be skipped or changed. Other steps that are not shown in FIG. 7 may also be added. The post processing stage 700 may be carried out by various components of the computing server 120, such as the process optimization engine 256.

The computing server 120 receives 730 the algorithm outputs 610. One or more of the algorithm outputs 610 may include event sequences that can represent an improved process model 340. The computing server 120 may enrich 740 the improved process model 340 with the domain knowledge ontology 226, which includes relationships, logics, and rules of the domain 110. The domain knowledge ontology 226 may be used to resolve ambiguity and supplement other information absent from the algorithm outputs 610. For example, an improved process model 340 generated by the computing server 120 may be associated with an item to be shipped. The domain knowledge ontology 226 may specify certain rules and procedures in shipping the item. The information may be added to the process model. In another example, an improved process model may include a transformation of a step in the process. The domain knowledge ontology 226 may provide the computing server 120 with information that specifies the employees who will be responsible for the transformed step.

The computing server 120 may also capture 750 human or machine corrections 710 to the improved process model 340. A user of the domain 110 may review the improved process model 340 and accept or reject some of the changes suggested in the improved process model 340. For example, the user may reject a deletion of a step due to a compliance issue. A user may also adjust or manually delete steps in the improved process model 340. The manual corrections provided by users are treated as reinforcement 720 for further training of the machine learning algorithms. The computing server 120 outputs 760 the reinforcement 720 to the algorithm training and process optimization stage 660.

The computing server 120 may receive one or more manual corrections and may also enrich the output model using domain knowledge ontology 226. In some cases, no enrichment or correction is performed. Whether or not enrichment and corrections are performed, the computing server 120 recommends 770 a process optimization. For example, the computing server 120 may provide an output that suggesting automation, elimination, and/or transformation of one or more steps in a process model 222. The computing server may also provide 780 the domain 110 with the improved process model 340 to replace one of the existing process models. For example, the improved process model 340 may be passed back into a resource planning program 115 through the API of the program 115. This allows the computing server 120 to automatically optimize a process model 222 and feed the improved process model 340 back to the domain 110.

Example Graphical Representations of Process Models

FIG. 8 is an example graphical representation 800 of a process model 222, in accordance with an embodiment. The graphical representation 800 may be an example visual representation of a process map. The process map may be displayed in the interface 134, such as a graphical user interface of an application provided by computing server 120 or a resource planning application 115. The underlying data (e.g., the process model 222) may be managed by a resource planning application 115 or computing server 120. The computing server 120, reading the data of a process model 222, may generate the graphical representation 800.

The graphical representation 800 may be a process map visualization that includes a series of events. For example, the graphical representation 800 may take the form of a directed graph that provides various steps in the process as nodes and connecting the nodes using edges. A step may correspond to an event “send request for quotation to supplier,” “create quotation comparison map,” or “analyze quotation comparison map,” which is represented by a node. The domain 110 may include transaction data 218 that includes multiple instances of events that correspond to each step. For example, there can be many instances of “send request for quotation to supplier” over the course of business of the domain 110. The nodes in the graphical representation 800 may be connected with edges that may specify the average performance indicator value (e.g., average time) or estimated performance indicator value needed to transition from one step to another step. A process model 222 may also include multiple routes that are displayed in the graphical representation 800 as different branches from the starting point of the endpoint of the process model 222. The process model 222 may include multiple routes because the process model 222 may be generated from summarizing different instances of similar processes that have different variations, as previously illustrated in the discussion of the automatic process mining engine 254.

Through the GUI, the computing server 120 may receive various selections related to the process model 222 from a user as manual actions. For example, users can use the graphical representation 800 to input performance indicators, generate user manual actions 320, and make human corrections 710. The graphical representation 800, which may be displayed in a GUI, may include multiple control elements for the user to perform actions and make a selection. For example, the edges and the nodes that represent various steps in a process model 222 may serve as control elements for the user to select. By selecting a node or an edge, a user may specify a performance indicator with respect to a specific step for the computing server 120 to optimize. For example, a user may select a node 810 that corresponds to the step “Amend Request for Quote.” In response, the GUI may display a pop-up selection menu 820 for the user to select the performance indicator “Time,” Volume,” or “Revenue” for optimization associated with the node 810. The graphical representation 800 may also include a menu 830 for the user to select one or more performance indicators for the entire process model 222.

The selection by a user using the graphical representation 800 may also be a user manual action 320. After a user retrieves a process model 222 and selects to display it as the graphical representation 800, the user can perform various manual actions 320 to improve the process model 222. For example, the user may select an edge or a node. The GUI may display a pop-up selection menu 840 that allows the user to label the selected edge or node as a bottleneck of the process model 222 or to provide a command for automation to turn the steps associated with the selected edge or node as an automatic step. Other manual actions 320 may also be performed, such as adding a new edge to create an alternative route for certain steps, selecting one or more nodes to delete so that certain steps are eliminated, and changing the nature of a step (e.g., transforming the step).

Users can also view an improved process model 340 generated by the process optimization engine 256 of the computing server 120 using the graphical representation 800. For example, the graphical representation 800 shown in FIG. 8 may be an improved process model 340. The graphical representation 800 may have different graphical elements, such as using different colors in the nodes, using dashed lines or different line styles for the edges, to represent the recommended optimization of a process model 222 that is generated by the process optimization engine 256. A user may manually review the optimization and select in the graphical representation whether to accept or reject the recommended changes. The acceptance or rejection may serve as reinforcement to further train the machine learning algorithm. The user may also make corrections to the recommended changes.

Example Machine Learning Algorithm

In various embodiments, a wide variety of machine learning techniques may be used. Examples of which include different forms of unsupervised learning, clustering, support vector regression (SVR) model, random forest classifiers, support vector machines (SVMs) such as kernel SVMs, gradient boosting, linear regression, logistic regression, and other forms of regressions. Deep learning techniques such as neural networks, including convolutional neural networks (CNN), recurrent neural networks (RNN), and long short-term memory networks (LSTM), may also be used. By way of example, in the process of algorithm training and process optimization stage 600, various machine learning techniques may be used. In one embodiment, process optimization is performed using a neural network, whose example structure is shown in FIG. 9.

In various embodiments, the training techniques for a machine learning algorithm may be supervised, semi-supervised, or unsupervised. In supervised training, the machine learning algorithms may be trained with a set of training samples that are labeled. For example, for a machine learning algorithm that is about to be trained to identify a process that can be optimized, the training samples may include various transactions each labeled with whether the transaction is optimized. The labels for each training sample may be binary or multi-class. In training a machine learning algorithm for process optimization, the training samples may be transactions that are manually labeled. In some cases, an unsupervised learning technique may be used. The samples used in training are not labeled. Various unsupervised learning technique such as clustering may be used. In some cases, the training may be semi-supervised with training set having a mix of labeled samples and unlabeled samples.

A machine learning algorithm may be associated with an objective function, which generates a metric value that describes the objective goal of the training process. For example, the training may intend to reduce the error rate of the model in generating predictions. In such a case, the objective function may monitor the error rate of the machine learning algorithm. In process optimization, the objective function of the machine learning algorithm may be the training error rate in classifying whether a transaction is optimized in a training set. Such an objective function may be called a loss function. Other forms of objective functions may also be used, particularly for unsupervised learning models whose error rates are not easily determined due to the lack of labels. In various embodiments, the error rate may be measured as cross-entropy loss, L1 loss (e.g., the absolute distance between the predicted value and the actual value), L2 loss (e.g., root mean square distance).

Referring to FIG. 9, a structure of an example CNN is illustrated, according to an embodiment. The CNN 900 may receive an input 910 and generate an output 920. The CNN 900 may include different kinds of layers, such as convolutional layers 930, pooling layers 940, recurrent layers 950, full connected layers 960, and custom layers 970. A convolutional layer 930 convolves the input of the layer with one or more kernels to generate convolved features. Each convolution result may be associated with an activation function. A convolutional layer 930 may be followed by a pooling layer 940 that selects the maximum value (max pooling) or average value (average pooling) from the portion of the input covered by the kernel size. The pooling layer 940 reduces the spatial size of the extracted features. In some embodiments, a pair of convolutional layer 930 and pooling layer 940 may be followed by a recurrent layer 950 that includes one or more feedback loop 955. The recurrent layer 950 may be gated in the case of an LSTM. The feedback 955 may be used to account for temporal relationships of the transactions in a process model 222. The layers 930, 940, and 950 may be followed in multiple fully connected layers 960 that have nodes (represented by squares in FIG. 9) connected to each other. The fully connected layers 960 may be used for classification and object identification. In one embodiment, one or more custom layers 970 may also be presented for the generation of a specific format of output 920.

The order of layers and the number of layers of the CNN 900 in FIG. 9 is for example only. In various embodiments, a CNN 900 includes one or more convolutional layer 930 but may or may not include any pooling layer 940 or recurrent layer 950. If a pooling layer 940 is present, not all convolutional layers 930 are always followed by a pooling layer 940. A recurrent layer may also be positioned differently at other locations of the CNN. For each convolutional layer 930, the sizes of kernels (e.g., 3×3, 5×5, 7×7, etc.) and the numbers of kernels allowed to be learned may be different from other convolutional layers 930.

A machine learning algorithm may include certain layers, nodes, kernels, and/or coefficients. Training of a neural network, such as the CNN 900, may include forward propagation and backpropagation. Each layer in a neural network may include one or more nodes, which may be fully or partially connected to other nodes in adjacent layers. In forward propagation, the neural network performs the computation in the forward direction based on outputs of a preceding layer. The operation of a node may be defined by one or more functions. The functions that define the operation of a node may include various computation operations such as convolution of data with one or more kernels, pooling, recurrent loop in RNN, various gates in LSTM, etc. The functions may also include an activation function that adjusts the weight of the output of the node. Nodes in different layers may be associated with different functions.

Each of the functions in the neural network may be associated with different coefficients (e.g. weights and kernel coefficients) that are adjustable during training. In addition, some of the nodes in a neural network each may also be associated with an activation function that decides the weight of the output of the node in forward propagation. Common activation functions may include step functions, linear functions, sigmoid functions, hyperbolic tangent functions (tanh), and rectified linear unit functions (ReLU). After an input is provided into the neural network and passes through a neural network in the forward direction, the results may be compared to the training labels or other values in the training set to determine the neural network's performance. The process of prediction may be repeated for other transactions in the training sets to compute the value of the objective function in a particular training round. In turn, the neural network performs backpropagation by using coordinate descent such as stochastic coordinate descent (SCD) to adjust the coefficients in various functions to improve the value of the objective function.

Multiple rounds of forward propagation and backpropagation may be performed. Training may be completed when the objective function has become sufficiently stable (e.g., the machine learning algorithm has converged) or after a predetermined number of rounds for a particular set of training samples. The trained machine learning algorithm can be used for performing process optimization or another suitable task for which the model is trained.

Computing Machine Architecture

FIG. 10 is a block diagram illustrating components of an example computing machine that is capable of reading instructions from a computer-readable medium and execute them in a processor (or controller). A computer described herein may include a single computing machine shown in FIG. 10, a virtual machine, a distributed computing system that includes multiples nodes of computing machines shown in FIG. 10, or any other suitable arrangement of computing devices.

By way of example, FIG. 10 shows a diagrammatic representation of a computing machine in the example form of a computer system 1000 within which instructions 1024 (e.g., software, program code, or machine code), which may be stored in a computer-readable medium for causing the machine to perform any one or more of the processes discussed herein may be executed. In some embodiments, the computing machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server machine or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

The structure of a computing machine described in FIG. 10 may correspond to any software, hardware, or combined components shown in FIGS. 1 and 2, including but not limited to, the domain 100, the computing server 120, the client device 130 and various engines, interfaces, terminals, and machines shown in FIG. 2. While FIG. 10 shows various hardware and software elements, each of the components described in FIG. 1 or FIG. 2 may include additional or fewer elements.

By way of example, a computing machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular telephone, a smartphone, a web appliance, a network router, an internet of things (IoT) device, a switch or bridge, or any machine capable of executing instructions 1024 that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” and “computer” may also be taken to include any collection of machines that individually or jointly execute instructions 1024 to perform any one or more of the methodologies discussed herein.

The example computer system 1000 includes one or more processors 1002 such as a CPU (central processing unit), a GPU (graphics processing unit), a TPU (tensor processing unit), a DSP (digital signal processor), a system on a chip (SOC), a controller, a state machine, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or any combination of these. Parts of the computing system 1000 may also include a memory 1004 that store computer code including instructions 1024 that may cause the processors 1002 to perform certain actions when the instructions are executed, directly or indirectly by the processors 1002. Instructions can be any directions, commands, or orders that may be stored in different forms, such as equipment-readable instructions, programming instructions including source code, and other communication signals and orders. Instructions may be used in a general sense and are not limited to machine-readable codes.

One and more methods described herein improve the operation speed of the processors 1002 and reduces the space required for the memory 1004. For example, the machine learning methods described herein reduces the complexity of the computation of the processors 1002 by applying one or more novel techniques that simplify the steps in training, reaching convergence, and generating results of the processors 1002. The algorithms described herein also reduces the size of the models and datasets to reduce the storage space requirement for memory 1004.

The performance of certain of the operations may be distributed among the more than processors, not only residing within a single machine, but deployed across a number of machines. In some example embodiments, the one or more processors or processor-implemented modules may be located in a single geographic location (e.g., within a home environment, an office environment, or a server farm). In other example embodiments, the one or more processors or processor-implemented modules may be distributed across a number of geographic locations. Even though in the specification or the claims may refer some processes to be performed by a processor, this should be construed to include a joint operation of multiple distributed processors.

The computer system 1000 may include a main memory 1004, and a static memory 1006, which are configured to communicate with each other via a bus 1008. The computer system 1000 may further include a graphics display unit 1010 (e.g., a plasma display panel (PDP), a liquid crystal display (LCD), a projector, or a cathode ray tube (CRT)). The graphics display unit 1010, controlled by the processors 1002, displays a graphical user interface (GUI) to display one or more results and data generated by the processes described herein. The computer system 1000 may also include an alphanumeric input device 1012 (e.g., a keyboard), a cursor control device 1014 (e.g., a mouse, a trackball, a joystick, a motion sensor, or another pointing instrument), a storage unit 1016 (a hard drive, a solid state drive, a hybrid drive, a memory disk, etc.), a signal generation device 1018 (e.g., a speaker), and a network interface device 1020, which also are configured to communicate via the bus 1008.

The storage unit 1016 includes a computer-readable medium 1022 on which is stored instructions 1024 embodying any one or more of the methodologies or functions described herein. The instructions 1024 may also reside, completely or at least partially, within the main memory 1004 or within the processor 1002 (e.g., within a processor's cache memory) during execution thereof by the computer system 1000, the main memory 1004 and the processor 1002 also constituting computer-readable media. The instructions 1024 may be transmitted or received over a network 1026 via the network interface device 1020.

While computer-readable medium 1022 is shown in an example embodiment to be a single medium, the term “computer-readable medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, or associated caches and servers) able to store instructions (e.g., instructions 1024). The computer-readable medium may include any medium that is capable of storing instructions (e.g., instructions 1024) for execution by the processors (e.g., processors 1002) and that causes the processors to perform any one or more of the methodologies disclosed herein. The computer-readable medium may include, but not be limited to, data repositories in the form of solid-state memories, optical media, and magnetic media. The computer-readable medium does not include a transitory medium such as a propagating signal or a carrier wave.

Additional Considerations

Beneficially, a computing server that automatically optimizes process model of a domain reduces the computing time of the domain in identifying a process and classifying data as relevant to a process model. The computing server achieves efficient and effective data and process management of the domain by extracting facts that are relevant to a process model and aggregating the facts from various data sources based on the domain knowledge ontology of the domain. This allows processes that are conventionally challenging to discover to be automatically and systematically identified and optimized. This allows a domain to optimize its processes in a fully automatic or almost fully automatic manner by having the computing server to generate a process model, optimize the process model based on the data of the domain, and replace an existing process model with an improved process model. The feedback and replacement of process models may be repeated so that processes in the domain are continuously improved.

The foregoing description of the embodiments has been presented for the purpose of illustration; it is not intended to be exhaustive or to limit the patent rights to the precise forms disclosed. Persons skilled in the relevant art can appreciate that many modifications and variations are possible in light of the above disclosure.

Embodiments according to the invention are in particular disclosed in the attached claims directed to a method and a computer program product, wherein any feature mentioned in one claim category, e.g. method, can be claimed in another claim category, e.g. computer program product, system, storage medium, as well. The dependencies or references back in the attached claims are chosen for formal reasons only. However, any subject matter resulting from a deliberate reference back to any previous claims (in particular multiple dependencies) can be claimed as well, so that any combination of claims and the features thereof is disclosed and can be claimed regardless of the dependencies chosen in the attached claims. The subject-matter which can be claimed comprises not only the combinations of features as set out in the disclosed embodiments but also any other combination of features from different embodiments. Various features mentioned in the different embodiments can be combined with explicit mentioning of such combination or arrangement in an example embodiment. Furthermore, any of the embodiments and features described or depicted herein can be claimed in a separate claim and/or in any combination with any embodiment or feature described or depicted herein or with any of the features.

Some portions of this description describe the embodiments in terms of algorithms and symbolic representations of operations on information. These operations and algorithmic descriptions, while described functionally, computationally, or logically, are understood to be implemented by computer programs or equivalent electrical circuits, microcode, or the like. Furthermore, it has also proven convenient at times, to refer to these arrangements of operations as engines, without loss of generality. The described operations and their associated engines may be embodied in software, firmware, hardware, or any combinations thereof.

Any of the steps, operations, or processes described herein may be performed or implemented with one or more hardware or software engines, alone or in combination with other devices. In one embodiment, a software engine is implemented with a computer program product comprising a computer-readable medium containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described. The term “steps” does not mandate or imply a particular order. For example, while this disclosure may describe a process that includes multiple steps sequentially with arrows present in a flowchart, the steps in the process do not need to be performed by the specific order claimed or described in the disclosure. Some steps may be performed before others even though the other steps are claimed or described first in this disclosure.

Throughout this specification, plural instances may implement components, operations, or structures described as a single instance. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of the individual operations may be performed concurrently, and nothing requires that the operations be performed in the order illustrated. Structures and functionality presented as separate components in example configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements fall within the scope of the subject matter herein. In addition, the term “each” used in the specification and claims does not imply that every or all elements in a group need to fit the description associated with the term “each.” For example, “each member is associated with element A” does not imply that all members are associated with an element A. Instead, the term “each” only implies that a member (of some of the members), in a singular form, is associated with an element A.

Finally, the language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the patent rights. It is therefore intended that the scope of the patent rights be limited not by this detailed description, but rather by any claims that issue on an application based hereon. Accordingly, the disclosure of the embodiments is intended to be illustrative, but not limiting, of the scope of the patent rights. 

What is claimed is:
 1. A computer-implemented method, comprising: receiving master data, transaction data, and one or more existing process models of a domain; aggregating, based on domain knowledge ontology of the domain, the master data and the transaction data to generate a fact table; converting entries in the fact table into vectors; inputting the vectors into one or more machine learning algorithms to generate one or more algorithm outputs, at least one of the algorithm outputs corresponding to an improved process model, wherein the inputting the vectors into the one or more machine learning algorithms to generate the one or more algorithm outputs comprises: inputting the vectors into a particular machine learning algorithm to generate one or more event sequences that comprise a plurality of events, and filtering the one or more event sequences to identify an association with a particular action; and providing the improved process model to the domain to replace one of the one or more existing process models.
 2. The computer-implemented method of claim 1, wherein aggregating, based on the domain knowledge ontology of the domain, the master data and the transaction data to generate the fact table comprises: deriving relationships of entities in the master data and the transaction data based on the domain knowledge ontology of the domain; converting the relationships of the entities into serialization entries.
 3. The computer-implemented method of claim 2, wherein the serialization entries are in a resource description framework format.
 4. The computer-implemented method of claim 1, further comprising: enriching the improved process model with the domain knowledge ontology.
 5. The computer-implemented method of claim 1, wherein the master data and the transaction data are received from an enterprise resource planning application of the domain, and the improved process model is fed back to the enterprise resource planning application.
 6. The computer-implemented method of claim 1, wherein one or more improvements in the improved process model is generated based on one or more performance indicators.
 7. The computer-implemented method of claim 1, wherein the entries in the fact table are scaled by feature scaling prior to converting into the vectors.
 8. The computer-implemented method of claim 1, wherein the machine learning algorithm is one of: a convolutional neural network, a recurrent neural network, or a long short term memory network.
 9. The computer-implemented method of claim 1, wherein filtering the event sequences is based on a conditional random field.
 10. The computer-implemented method of claim 1, further comprising: receiving a manual action that is inputted to improve one of the existing process models; and inputting the manual action into the one or more machine learning algorithms.
 11. The computer-implemented method of claim 10, wherein receiving the manual action comprises: displaying at least one of the existing process models as a process map visualization that includes a series of events; and receiving a selection associated with one of the events from a user as the manual action.
 12. The computer-implemented method of claim 11, wherein the selection is a selection of a target performance indicator associated with the one of the events.
 13. The computer-implemented method of claim 1, further comprising: receiving one or more human corrections to the improved process model; and adjusting the improved process model based on the one or more human corrections.
 14. The computer-implemented method of claim 13, wherein the human corrections are used to reinforce the one or more machine learning algorithms.
 15. A system comprising: one or more processors; and memory configured to store computer code comprising instructions, the instructions, when executed by the one or more processors, cause the one or more processor to: receive master data, transaction data, and one or more existing process models of a domain; aggregate, based on domain knowledge ontology of the domain, the master data and the transaction data to generate a fact table; convert entries in the fact table into vectors; input the vectors into one or more machine learning algorithms to generate one or more algorithm outputs, at least one of the algorithm outputs corresponding to an improved process model, wherein the instruction to input the vectors into the one or more machine learning algorithms to generate the one or more algorithm outputs comprises instructions to: input the vectors into a particular machine learning algorithm to generate one or more event sequences that comprise a plurality of events, and filter the one or more event sequences to identify an association with a particular action; and provide the improved process model to the domain to replace one of the one or more existing process models.
 16. The system of claim 15, wherein the instructions, when executed, further cause the one or more processors to: enrich the improved process model with the domain knowledge ontology.
 17. The system of claim 15, wherein the master data and the transaction data are received from an enterprise resource planning application of the domain, and the improved process model is fed back to the enterprise resource planning application.
 18. A non-transitory computer readable medium for storing computer code comprising instructions, the instructions, when executed by one or more processors, cause the one or more processors to: receive master data, transaction data, and one or more existing process models of a domain; aggregate, based on domain knowledge ontology of the domain, the master data and the transaction data to generate a fact table; convert entries in the fact table into vectors; input the vectors into one or more machine learning algorithms to generate one or more algorithm outputs, at least one of the algorithm outputs corresponding to an improved process model, wherein the instruction to input of the vectors into the one or more machine learning algorithms to generate the one or more algorithm outputs comprises instructions to: input the vectors into a particular machine learning algorithm to generate one or more event sequences that comprise a plurality of events, and filter the one or more event sequences to identify an association with a particular action; and provide the improved process model to the domain to replace one of the one or more existing process models.
 19. The non-transitory computer readable medium of claim 18, wherein the master data and the transaction data are received from an enterprise resource planning application of the domain, and the improved process model is fed back to the enterprise resource planning application. 